package com.yunban.project.api.text_check.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunban.project.api.text_check.domain.TempCorrectRecord;
import com.yunban.project.api.text_check.dto.TestCorrectReq;
import org.springframework.scheduling.annotation.Async;

/**
 * @author: lijiajun
 * @date: 2025-03-13
 * @version: 1.0
 */
public interface TempCorrectRecordService extends IService<TempCorrectRecord> {
    String saveRecord(TestCorrectReq req);

    @Async
    void runAiMode(String taskId, TestCorrectReq req);

    TempCorrectRecord findByTaskId(String taskId);
}
